package Demo2;

public class Tyre {
    private String name;
    private int useAge;

    public Tyre(){

    }
    public Tyre(String name, int useAge) {
        this.name = name;
        this.useAge = useAge;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUseAge() {
        return useAge;
    }

    public void setUseAge(int useAge) {
        this.useAge = useAge;
    }
}
